package com.edu.learning.concurrent.custom.queue;

/**
 * 阻塞队列接口
 *
 * @Author ll
 * @Date 2017/10/16 11:10
 */
public interface IBlockingQueue<T> {

    void put(T data) throws InterruptedException;

    T take() throws InterruptedException;
}
